package top.suven.base.http.admin.log.model;

import top.suven.base.core.mybatis.crud.*;

import java.util.Date;
/**   
 * @Title: LoginLog.java
 * @Description: 登录日志的数据模型
 * @author lixiangling
 * @date   2018/08/28 11:12:22
 * @version V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
@Table(name = "sys_login_log")
public class LoginLog{

	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_sys_login_log")
	@Column(name = "log_id" , nullable = false)
	/** 日志标识 */
	private Long logId;
	@Column(name = "log_type" , nullable = false)
	/** 日志类型 */
	private String logType;
	@Column(name = "user_id_tmp" , nullable = false)
	/** 操作员工号/会员 */
	private String userIdTmp;
	@Column(name = "login_time" , nullable = false)
	/** 登录时间 */
	private Date loginTime;
	@Column(name = "logout_time" , nullable = false)
	/** 退出时间 */
	private Date logoutTime;
	@Column(name = "login_type" , nullable = false)
	/** 登录方式 网页、客户端（android 、IOS、PC） */
	private String loginType;
	@Column(name = "ip_address" , nullable = false)
	/** IP地址 */
	private String ipAddress;
	@Column(name = "mac_id" , nullable = false)
	/** MAC地址 */
	private String macId;
	@SoftDelete
	@Column(name = "status" , nullable = false)
	/** 状态 */
	private Integer status;
	@Column(name = "creater" , nullable = false)
	/** 创建人 */
	private String creater;
	@Column(name = "create_time" , nullable = false)
	/** 创建时间 */
	private Date createTime;
	@Column(name = "modifier" , nullable = false)
	/** 修改人 */
	private String modifier;
	@Column(name = "modify_time" , nullable = false)
	/** 修改时间 */
	private Date modifyTime;
	@Column(name = "reorder" , nullable = false)
	/** 排序 */
	private Long reorder;
	@Column(name = "remark" , nullable = false)
	/** 备注 */
	private String remark;
	@Column(name = "enable_status" , nullable = false)
	/** 启用状态 启用-1、禁用-0 */
	private Integer enableStatus;
	@Column(name = "user_id" , nullable = false)
	/** 用户ID */
	private Long userId;
	@Column(name = "client_type" , nullable = false)
	/** 登录系统类型 pc android ios */
	private String clientType;
	@Column(name = "imei" , nullable = false)
	/** IMEI号 */
	private String imei;
	@Column(name = "mobile_model" , nullable = false)
	/** 手机型号 */
	private String mobileModel;
	@Column(name = "os_type" , nullable = false)
	/** 访问系统 WIN7 WIN8 XP ANDROID IOS */
	private String osType;
	@Column(name = "user_source" , nullable = false)
	/** 客户端编号 */
	private String userSource;
	@Column(name = "version" , nullable = false)
	/**  */
	private String version;
	@Column(name = "cuid" , nullable = false)
	/** cuid */
	private String cuid;


	
	public void setLogId(Long logId){
		this.logId = logId;
	}
	
	public Long getLogId(){
		return this.logId;
	}
	
	public void setLogType(String logType){
		this.logType = logType;
	}
	
	public String getLogType(){
		return this.logType;
	}
	
	public void setUserIdTmp(String userIdTmp){
		this.userIdTmp = userIdTmp;
	}
	
	public String getUserIdTmp(){
		return this.userIdTmp;
	}
	
	public void setLoginTime(Date loginTime){
		this.loginTime = loginTime;
	}
	
	public Date getLoginTime(){
		return this.loginTime;
	}
	
	public void setLogoutTime(Date logoutTime){
		this.logoutTime = logoutTime;
	}
	
	public Date getLogoutTime(){
		return this.logoutTime;
	}
	
	public void setLoginType(String loginType){
		this.loginType = loginType;
	}
	
	public String getLoginType(){
		return this.loginType;
	}
	
	public void setIpAddress(String ipAddress){
		this.ipAddress = ipAddress;
	}
	
	public String getIpAddress(){
		return this.ipAddress;
	}
	
	public void setMacId(String macId){
		this.macId = macId;
	}
	
	public String getMacId(){
		return this.macId;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Integer getStatus(){
		return this.status;
	}
	
	public void setCreater(String creater){
		this.creater = creater;
	}
	
	public String getCreater(){
		return this.creater;
	}
	
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	public Date getCreateTime(){
		return this.createTime;
	}
	
	public void setModifier(String modifier){
		this.modifier = modifier;
	}
	
	public String getModifier(){
		return this.modifier;
	}
	
	public void setModifyTime(Date modifyTime){
		this.modifyTime = modifyTime;
	}
	
	public Date getModifyTime(){
		return this.modifyTime;
	}
	
	public void setReorder(Long reorder){
		this.reorder = reorder;
	}
	
	public Long getReorder(){
		return this.reorder;
	}
	
	public void setRemark(String remark){
		this.remark = remark;
	}
	
	public String getRemark(){
		return this.remark;
	}
	
	public void setEnableStatus(Integer enableStatus){
		this.enableStatus = enableStatus;
	}
	
	public Integer getEnableStatus(){
		return this.enableStatus;
	}
	
	public void setUserId(Long userId){
		this.userId = userId;
	}
	
	public Long getUserId(){
		return this.userId;
	}
	
	public void setClientType(String clientType){
		this.clientType = clientType;
	}
	
	public String getClientType(){
		return this.clientType;
	}
	
	public void setImei(String imei){
		this.imei = imei;
	}
	
	public String getImei(){
		return this.imei;
	}
	
	public void setMobileModel(String mobileModel){
		this.mobileModel = mobileModel;
	}
	
	public String getMobileModel(){
		return this.mobileModel;
	}
	
	public void setOsType(String osType){
		this.osType = osType;
	}
	
	public String getOsType(){
		return this.osType;
	}
	
	public void setUserSource(String userSource){
		this.userSource = userSource;
	}
	
	public String getUserSource(){
		return this.userSource;
	}
	
	public void setVersion(String version){
		this.version = version;
	}
	
	public String getVersion(){
		return this.version;
	}
	
	public void setCuid(String cuid){
		this.cuid = cuid;
	}
	
	public String getCuid(){
		return this.cuid;
	}
}